<?php

namespace Entity;
use\Abstraction;

class Filepqp extends Abstraction\PqpAbstract
{
    protected function doConstruct()
    {
        $this->name = 'files';
        
        $this->struct = array();
        $this->struct[0] = '<tr><td class="%s">';
        $this->struct[1] = '<b>%s</b> ';
        $this->struct[2] = ' %s</td></tr>';
    }
    
    protected function translate($data, $alt)
    {
        return array( 
                        $alt, $data['size'], $data['name'],
                      );
    }
}
